#pragma once

#ifdef  FI_PLATFORM_WINDOWS

extern FI::Application* FI::CreateApplication();

int main(int argc, char** argv)
{
	FI::Log::Init();
	FI_CORE_WARN("Initialized Log!");
	FI_INFO("Welcome FairyIsland Engine!");

	auto app = FI::CreateApplication();
	app->Run();
	delete app;
}

#else
#error Fairy Island Only Support Windows!
#endif //  HZ_PLATFORM_WINDOWS
